package com.atguigu.guli.service.edu.entity.query;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author dyqstart
 * @create 2021-07-12-22:23
 * @since 1.0.0
 */
@Data
@ApiModel("课程查询对象")
public class WebCourseQuery {

    @ApiModelProperty(value = "一级分类ID")
    private String subjectParentId;

    @ApiModelProperty(value = "二级分类ID")
    private String subjectId;

    @ApiModelProperty(value = "按销售量排序")
    private String buyCountSort; //1表示排序，没有值表示不排序

    @ApiModelProperty(value = "按发布时间排序")
    private String publishTimeSort;//1表示排序，没有值表示不排序

    @ApiModelProperty(value = "按价格排序")
    private String priceSort; //价格正序：1，价格倒序：2

}